/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package cs575.wido;

import cs575.client.Task;
import java.util.List;

/**
 *
 * @author kevincheung
 */
public class MyPendingkListFactory implements TaskListFactory {

	@Override
	public List<Task> getTaskList() {
		cs575.client.WiDo wido = WebServiceFactory.getPort();
		cs575.client.Session session = UserSession.getInstance().getSession();
		
		return wido.getPendingTasks(session);
	}
	
}
